<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>      
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>>"> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />

</head>
<body>
		
    
    <div class="formbody">
    
    <div class="formtitle"><span>入住登记</span></div>
    <form action="back/RoomServlet?task=query" method="post">
    <ul class="forminfo">
    <li><label></label><input name="id" type="hidden" class="dfinput"  value="${qt.id }"/></li>
    <li><label>房间号</label><input name="roomid" type="text" class="dfinput" value="${qt.roomid }"/></li>
    <li><label>房间类</label><select id="roomtype" name="roomtype"   style="width:345px; height:35px;" >
    	
      <c:forEach var="qt" items="${Tlist }">
      <option value="${qt.roomtype }" >${qt.roomtype }</option>
  		</c:forEach>
  		
  		
    	
    
    </select><i></i></li>
    <li><label>房间楼层</label><input name="floor" type="text" class="dfinput" value="${qt.floor }"/></li>
    <li><label>价格</label><input name="price" type="text" class="dfinput"  value="${qt.price }"/></li>
    <li><label>可入住人数</label><input name="numofpersons" type="text" class="dfinput" value="${qt.numofpersons }"/><i></i></li>
    <li><label>已入住人数</label><input name="checkinpersons" type="text" class="dfinput" value="${qt.checkinpersons }"/><i></i></li>
    <li><label>&nbsp;</label><input name="button1" type="submit" class="btn" value="确认修改"/></li>
    </ul>
    </form>
    
    </div>


<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>